[AS2] Button Problem
Posted
by Adam Kiss
on Stack Overflow
See other posts from Stack Overflow
or by Adam Kiss
Published on 2010-03-25T14:41:47Z
Indexed on
2010/03/25
14:43 UTC
Read the original article
Hit count: 421
actionscript
|as2
problem
hello, I have Button (with no name), which has a MovieClip
child. this movie_clip
called ax_kr
has XX
frames, each containing one image.
Now, upon loading flash or frame containg this button (actually, 43 of them), I would like to tell to each button, that in your ax_kr
MovieClip
, load frame YY
- first one would load frame 2, second frame 3, third frame 4 etc. etc.
Or is there anyway to use one generic MovieClip
/Button
with that ax_kr MovieClip
as child with frame xy
as active and two more actions? (on RollOver, another MC on stage goes to frame xy
(same as ax_kr
has) and on Click, another MC on stage goes to frame xy
(still the same number))
I did previously in as3
and find it quite okay, but now I have to enhance old as2 application and I feel like I should just kill myself.
© Stack Overflow or respective owner